package com.js.dict;

import com.js.auth.client.EnableJsAuthClient;
import com.spring4all.swagger.EnableSwagger2Doc;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @author ygl
 * @create 2018-11-05
 * @DESCRIPTION
 **/
@EnableEurekaClient
@EnableFeignClients({"com.js.auth.client.feign"})
@MapperScan("com.js.dict.mapper")
@EnableJsAuthClient
@EnableSwagger2Doc
@SpringBootApplication
public class JsDictApplication {

    public static void main(String[] args) {
        new SpringApplicationBuilder(JsDictApplication.class).run(args);
    }

}
